net/http.segment.multi (field)
23 uses
net/http (current package)
pattern.go#L64: multi bool // "..." wildcard
pattern.go#L137: p.segments = append(p.segments, segment{wild: true, multi: true})
pattern.go#L180: p.segments = append(p.segments, segment{s: name, wild: true, multi: multi})
pattern.go#L286: if len(p1.segments) != len(p2.segments) && !p1.lastSegment().multi && !p2.lastSegment().multi {
pattern.go#L308: if len(segs1) < len(segs2) && p1.lastSegment().multi {
pattern.go#L311: if len(segs2) < len(segs1) && p2.lastSegment().multi {
pattern.go#L319: if s1.multi && s2.multi {
pattern.go#L322: if s1.multi {
pattern.go#L325: if s2.multi {
pattern.go#L400: return !seg.multi
pattern.go#L441: if !s.multi && s.s != "/" {
pattern.go#L475: if s1.multi && s2.multi {
pattern.go#L481: if s1.multi && !s2.multi {
pattern.go#L496: if !s1.multi && s2.multi {
routing_index.go#L32: if pat.lastSegment().multi {
routing_index.go#L98: if seg.multi {
routing_tree.go#L62: if seg.multi {
server.go#L2699: if !n.pattern.lastSegment().multi {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |